<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			//同步获取storge
			// const getStorageSync = (key)=>{
			//     let value='';
			//     try {value = uni.getStorageSync(key);} catch (e) {}
			//     return value;
			// }
			// //同步存储storge
			// const setStorageSync = (key,value)=>{
			//     try {uni.setStorageSync(key, value);return true;} catch (e) {}
			//     return false;
			// }
			// //同步移除指定的 key
			// const removeStorageSync = (key)=>{
			//     try {uni.removeStorageSync(key);return true;} catch (e) {}
			//     return false;
			// }
			// //同步清理所有
			// const clearStorageSync = (key,value)=>{
			//     try {uni.clearStorageSync();return true;} catch (e) {}
			//     return false;
			// }
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>







<style>
	@font-face {
	  font-family: 'iconfont';  /* project id 1836608 */
	  src: url('http://at.alicdn.com/t/font_1836608_nem8eqj75nc.eot');
	  src: url('http://at.alicdn.com/t/font_1836608_nem8eqj75nc.eot?#iefix') format('embedded-opentype'),
	  url('http://at.alicdn.com/t/font_1836608_nem8eqj75nc.woff2') format('woff2'),
	  url('http://at.alicdn.com/t/font_1836608_nem8eqj75nc.woff') format('woff'),
	  url('http://at.alicdn.com/t/font_1836608_nem8eqj75nc.ttf') format('truetype'),
	  url('http://at.alicdn.com/t/font_1836608_nem8eqj75nc.svg#iconfont') format('svg');
	}
	.icon{
		font-size: 38rpx;
		font-family: iconfont;
	}
	
</style>
